package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 总院信息对象 constract_institute
 * 
 * @author ruoyi
 * @date 2022-04-04
 */
public class ConstractInstitute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 委托时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "委托时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entrustTime;

    /** 委托单位 */
    @Excel(name = "委托单位")
    private String entrustName;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 工作内容 */
    @Excel(name = "工作内容")
    private String content;

    /** 合同进度 */
    @Excel(name = "合同进度")
    private String progressType;

    /** 合同额 */
    @Excel(name = "合同额")
    private Double money;

    /** 已支付金额 */
    @Excel(name = "已支付金额")
    private Double payMoney;

    /** 已经支付比例 */
    @Excel(name = "已经支付比例")
    private Double payDiv;

    /** 待支付金额 */
    @Excel(name = "待支付金额")
    private Double pendingPay;

    /** 总盘剩余资金 */
    @Excel(name = "总盘剩余资金")
    private Double remindPay;

    /** 合同id */
    private Long constractId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEntrustTime(Date entrustTime) 
    {
        this.entrustTime = entrustTime;
    }

    public Date getEntrustTime() 
    {
        return entrustTime;
    }
    public void setEntrustName(String entrustName) 
    {
        this.entrustName = entrustName;
    }

    public String getEntrustName() 
    {
        return entrustName;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setProgressType(String progressType) 
    {
        this.progressType = progressType;
    }

    public String getProgressType() 
    {
        return progressType;
    }
    public void setMoney(Double money)
    {
        this.money = money;
    }

    public Double getMoney()
    {
        return money;
    }
    public void setPayMoney(Double payMoney)
    {
        this.payMoney = payMoney;
    }

    public Double getPayMoney()
    {
        return payMoney;
    }
    public void setPayDiv(Double payDiv)
    {
        this.payDiv = payDiv;
    }

    public Double getPayDiv()
    {
        return payDiv;
    }
    public void setPendingPay(Double pendingPay)
    {
        this.pendingPay = pendingPay;
    }

    public Double getPendingPay()
    {
        return pendingPay;
    }
    public void setRemindPay(Double remindPay)
    {
        this.remindPay = remindPay;
    }

    public Double getRemindPay()
    {
        return remindPay;
    }
    public void setConstractId(Long constractId) 
    {
        this.constractId = constractId;
    }

    public Long getConstractId() 
    {
        return constractId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("entrustTime", getEntrustTime())
            .append("entrustName", getEntrustName())
            .append("type", getType())
            .append("content", getContent())
            .append("progressType", getProgressType())
            .append("money", getMoney())
            .append("payMoney", getPayMoney())
            .append("payDiv", getPayDiv())
            .append("pendingPay", getPendingPay())
            .append("remindPay", getRemindPay())
            .append("constractId", getConstractId())
            .toString();
    }
}
